package com.netease.pris;

import android.os.Handler;
import android.os.Message;
import com.netease.framework.b.d;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;

public class e
  implements d
{
  private static final int c = 1;
  private static final int d = 2;
  HashSet a = new HashSet();
  Handler b = new g(this, null);

  private void c(int paramInt1, int paramInt2, int paramInt3, Object paramObject)
  {
    LinkedList localLinkedList = new LinkedList();
    localLinkedList.addAll(this.a);
    if (localLinkedList.size() > 0)
    {
      Iterator localIterator = localLinkedList.iterator();
      while (localIterator.hasNext())
      {
        b localb = (b)localIterator.next();
        try
        {
          localb.b(paramInt1, paramInt2, paramInt3, paramObject);
        }
        catch (Exception localException)
        {
          localException.printStackTrace();
        }
      }
    }
  }

  private void d(int paramInt1, int paramInt2, int paramInt3, Object paramObject)
  {
    LinkedList localLinkedList = new LinkedList();
    localLinkedList.addAll(this.a);
    if (localLinkedList.size() > 0)
    {
      Iterator localIterator = localLinkedList.iterator();
      while (localIterator.hasNext())
      {
        b localb = (b)localIterator.next();
        try
        {
          localb.a(paramInt1, paramInt2, paramInt3, paramObject);
        }
        catch (Exception localException)
        {
          localException.printStackTrace();
        }
      }
    }
  }

  /** @deprecated */
  public void a(int paramInt1, int paramInt2, int paramInt3, Object paramObject)
  {
    monitorenter;
    try
    {
      f localf = new f(paramInt1, paramObject);
      this.b.obtainMessage(2, paramInt2, paramInt3, localf).sendToTarget();
      monitorexit;
      return;
    }
    finally
    {
      localObject = finally;
      monitorexit;
    }
    throw localObject;
  }

  public void a(b paramb)
  {
    this.a.add(paramb);
  }

  /** @deprecated */
  public void b(int paramInt1, int paramInt2, int paramInt3, Object paramObject)
  {
    monitorenter;
    try
    {
      f localf = new f(paramInt1, paramObject);
      this.b.obtainMessage(1, paramInt2, paramInt3, localf).sendToTarget();
      monitorexit;
      return;
    }
    finally
    {
      localObject = finally;
      monitorexit;
    }
    throw localObject;
  }

  public void b(b paramb)
  {
    this.a.remove(paramb);
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.pris.e
 * JD-Core Version:    0.6.0
 */